package com.leyou.order.service;

import com.leyou.order.dto.OrderDTO;
import com.leyou.order.vo.OrderVO;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: wangzibeng
 * Date: 2019/5/20 0020
 * Time: 10:25
 */

public interface OrderService {
    /**
     * 创建订单
     *
     * @param orderDTO dto
     * @return void
     */
    Long createOrder(OrderDTO orderDTO);

    /**
     * 根据订单编号查询订单
     *
     * @param orderId 订单id
     * @return vo
     */
    OrderVO queryOrderById(Long orderId);
}
